package com.luoxi.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 主页
 * @author 夏智峰
 * @create 2018-06-24 9:34
 */
@Controller
@RequestMapping
public class IndexController {
  @GetMapping("/")
  public String index() {
    return "/index";
  }
}
